package com.linx.park.domain.bo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.linx.park.domain.ParkInfo;
import com.linx.common.core.validate.AddGroup;
import com.linx.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import jakarta.validation.constraints.*;

/**
 * 园区信息业务对象 park_info
 *
 * @author 泽智科技
 * @date 2024-10-09
 */
@Data
@AutoMapper(target = ParkInfo.class, reverseConvertGenerate = false)
public class ParkInfoBo {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long parkInfoId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 园区名称
     */
    @NotBlank(message = "园区名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String parkName;

    /**
     * 园区编号
     */
    private String parkInfoCode;
    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;
   //瓦片地图路径
    private String path;

}
